export type LatLngTuple = [number, number, number?];
export type ModelConfig = {
  id: string;
  url: string;
  position: LatLngTuple;
  scale?: [number, number, number];
  rotation?: [number, number, number];
};

// 坐标中心点配置
export const centerPoint: LatLngTuple = [22.499175298089416, 113.92055763860492]; 

// 标记点配置
export const markersPoint = [
  {
    id: 'marker1',
    position: [22.49873452335234, 113.92084710744678] as LatLngTuple,
  },
  {
    id: 'marker2',
    position: [22.499309015991145, 113.92109369200818] as LatLngTuple,
  },
];

// 遮罩层配置
export const masksPoint = [
  {
    id: 'mask-layer1',
    // 花园城数码大厦
    paths: [
      [22.498848426291726, 113.9200162160721],
      [22.49857603262419, 113.92080690762589],
      [22.49948978761296, 113.9211741102115],
      [22.499762179556804, 113.92037269737341],
    ] as LatLngTuple[],
  },
  {
    id: 'mask-layer2',
    // 沃尔玛
    paths: [
      [22.500368646631426, 113.92210148717686],
      [22.50004681788184, 113.92301193642277],
      [22.504157394997804, 113.92460324329204],
      [22.504223222101064, 113.92356612236836],
    ] as LatLngTuple[],
  },
  {
    id: 'mask-layer3',
    // 财富中心
    paths: [
      [22.50141728054279, 113.92204109532372],
      [22.501317551951708, 113.92226443304821],
      [22.5031298508702, 113.92293816856409],
      [22.50141728054279, 113.92204109532372],
    ] as LatLngTuple[],
  },
];

// 3D模型配置
export const modelsPoint: ModelConfig[] = [
  {
    id: 'horse1',
    url: '/Horse.gltf',
    position: [22.499175298089416, 113.92055763860492, 0],
    scale: [400, 400, 180],
    rotation: [0, 70, 0],
  },
];


